package pojo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xlyq on 2017/1/17.
 */
public class NoteRank implements Serializable {
    private List<NoteWithName> timeRank;
    private List<NoteWithName> replyRank;
    private NoteRank(List<NoteWithName> timeRank, List<NoteWithName> replyRank) {
        this.timeRank = timeRank;
        this.replyRank = replyRank;
    }

    public List<NoteWithName> getTimeRank() {
        return timeRank;
    }

    public void setTimeRank(List<NoteWithName> timeRank) {
        this.timeRank = timeRank;
    }

    public List<NoteWithName> getReplyRank() {
        return replyRank;
    }

    public void setReplyRank(List<NoteWithName> replyRank) {
        this.replyRank = replyRank;
    }

    public static NoteRank build(List<NoteWithName> timeRank, List<NoteWithName> replyRank){
        return new NoteRank(timeRank,replyRank);
    }
}
